package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Poster implements Serializable{

    private static final long serialVersionUID =  1L;

    public Poster (){
    }

    /** 主键 */
    private Integer id;
    /** 海报图链接 */
    private String imageUrl;
    /** 海报图名称 */
    private String description;
    /** 状态：0-展示中；1-下线 */
    private Integer adStatus;
    /** 有效状态 0可用 1不可用 */
    private Integer recStatus;
    /** 创建人 */
    private Integer createUserId;
    /** 创建时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /** 修改人 */
    private Integer modifyUserId;
    /** 修改时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;

	public final Integer getId() {
        return this.id;
	}

	public final void setId(final Integer id) {
        this.id = id;
	}

	public final String getImageUrl() {
        return this.imageUrl;
	}

	public final void setImageUrl(final String imageUrl) {
        this.imageUrl = imageUrl;
	}

	public final String getDescription() {
        return this.description;
	}

	public final void setDescription(final String description) {
        this.description = description;
	}

	public final Integer getAdStatus() {
        return this.adStatus;
	}

	public final void setAdStatus(final Integer adStatus) {
        this.adStatus = adStatus;
	}

	public final Integer getRecStatus() {
        return this.recStatus;
	}

	public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
	}

	public final Integer getCreateUserId() {
        return this.createUserId;
	}

	public final void setCreateUserId(final Integer createUserId) {
        this.createUserId = createUserId;
	}


	public final Integer getModifyUserId() {
        return this.modifyUserId;
	}

	public final void setModifyUserId(final Integer modifyUserId) {
        this.modifyUserId = modifyUserId;
	}

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }
}
